package com._51cto.healthy.mapper;

import com._51cto.healthy.base.BaseMapper;
import com._51cto.healthy.pojo.Healthy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HealthyMapper extends BaseMapper<Healthy> {
    List<Healthy> findAll(@Param("query")String query);

    @Override
    int deleteByPK(@Param("id") Integer pk);

    @Override
    int update(Healthy entity);


    @Override
    int insert(Healthy entity);
}
